package com.sc.nft.admin.controller;


import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.lang.UUID;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.sc.nft.admin.request.*;
import com.sc.nft.admin.service.QywxService;
import com.sc.nft.admin.task.SandQywxNoticTask;
import com.sc.nft.annotation.SysMemberLogin;
import com.sc.nft.dao.*;
import com.sc.nft.dto.UserEcologyHatchIncomeRecordDao;
import com.sc.nft.dto.UserEcologyHatchRecordsDao;
import com.sc.nft.entity.*;
import com.sc.nft.entity.dto.ActivationRecordDTO;
import com.sc.nft.entity.dto.ActivityBasicsPageDTO;
import com.sc.nft.entity.dto.CreateActivityDTO;
import com.sc.nft.entity.dto.ModificationActivityDTO;
import com.sc.nft.entity.vo.*;
import com.sc.nft.enums.MarketTypeEnum;
import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.enums.RedisKeyEnum;
import com.sc.nft.enums.UserConsensusTypeEnums;
import com.sc.nft.exception.GlobalRunTimeException;
import com.sc.nft.mapper.OrderMapper;
import com.sc.nft.mapper.SecondCollectionMapper;
import com.sc.nft.mapper.SecondOrderMapper;
import com.sc.nft.mapper.UserCollectionMapper;
import com.sc.nft.pool.UserPool;
import com.sc.nft.service.ActivityBasicsService;
import com.sc.nft.service.CarveUpPoolService;
import com.sc.nft.service.IncomeService;
import com.sc.nft.service.UserDaoPerformanceService;
import com.sc.nft.sup.PageResult;
import com.sc.nft.sup.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.http.client.methods.HttpPost;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;

import static com.sc.nft.admin.task.SandQywxNoticTask.adminAccount;


@Slf4j
@RequiredArgsConstructor
@RestController
@RequestMapping("/admin/init")
@Api(tags = " 初始化")
public class InitController {


}
